-- card: 105154 from stack: in -- bmap block id: 105604 -- flags: 4000 -- background id: 14423 -- name: Exams ----- HyperTalk script ----- on openCard setMenuItem 1091,1,"New Task" enableMenuItem 1093,4,true enableMenuItem 1093,5,true enableMenuItem 1093,6,true checkMenuItem 1093,4,true checkMenuItem 1093,5,false checkMenuItem 1093,6,false put "Total Points" into card field "Weight" end openCard on closeCard setMenuItem 1091,1,"New Bin" end closeCard on doMenu menuItem if menuItem is "Clear" then if the selectedField is empty then exit doMenu lock screen repeat with index = 1 to 3 if the number of the selectedField is index then subtract 1 from background field "Tasks" repeat with count1 = 1 to 4 if short name of this card is background field count1 then add 1 to background field (count1 + 4) end if end repeat repeat with count1 = (index + 1) to 3 if visible of card field count1 then put card field count1 into card field (count1 - 1) repeat with count2 = 1 to 5 put card field id ((count1 * 5) + count2) into card field id (((count1 - 1) * 5) + count2) end repeat repeat with count2 = 1 to 5 put card field id ((count1 * 5) + count2 + 15) into card field id (((count1 - 1) * 5) + count2 + 15) end repeat else hide card field (count1 - 1) repeat with count2 = 1 to 5 put empty into card field id (((count1 - 1) * 5) + count2) end repeat repeat with count2 = 1 to 5 put empty into card field id (((count1 - 1) * 5) + count2 + 15) end repeat exit repeat end if end repeat if index = 3 OR count1 = 3 then hide card field 3 repeat with count2 = 1 to 5 put empty into card field id (count2 + 15) end repeat repeat with count2 = 1 to 5 put empty into card field id (count2 + 30) end repeat end if exit repeat end if end repeat unlock screen else if menuItem is "Total Points" then put menuItem into card field "Weight" checkMenuItem 1093,4,true checkMenuItem 1093,5,false checkMenuItem 1093,6,false else if menuItem is "Scalar Weight" then put menuItem into card field "Weight" checkMenuItem 1093,4,false checkMenuItem 1093,5,true checkMenuItem 1093,6,false else if menuItem is "Percentage Weight" then put menuItem into card field "Weight" checkMenuItem 1093,4,false checkMenuItem 1093,5,false checkMenuItem 1093,6,true else pass doMenu end doMenu -- part 1 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=0 top=0 right=342 bottom=512 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: ----- HyperTalk script ----- on mouseUp lock screen set cursor to watch repeat with index = 1 to the number of bg fields put bg field index into item index of array end repeat go to first card of this background repeat with index = 1 to the number of bg fields put item index of array into bg field index end repeat unlock screen set cursor to hand end mouseUp -- part 2 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=12 top=40 right=314 bottom=366 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: -- part 3 (field) -- low flags: 80 -- high flags: 0000 -- rect: left=134 top=70 right=120 bottom=205 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: -- part 4 (field) -- low flags: 80 -- high flags: 0000 -- rect: left=206 top=70 right=120 bottom=277 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: -- part 5 (field) -- low flags: 80 -- high flags: 0000 -- rect: left=278 top=70 right=120 bottom=349 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: -- part 6 (field) -- low flags: 00 -- high flags: 0000 -- rect: left=134 top=121 right=136 bottom=205 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 65535 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: -- part 7 (field) -- low flags: 00 -- high flags: 0000 -- rect: left=134 top=137 right=152 bottom=205 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 65535 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: -- part 8 (field) -- low flags: 01 -- high flags: 0000 -- rect: left=134 top=153 right=168 bottom=205 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 65535 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: -- part 9 (field) -- low flags: 01 -- high flags: 0000 -- rect: left=134 top=169 right=184 bottom=205 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 65535 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: -- part 10 (field) -- low flags: 01 -- high flags: 0000 -- rect: left=134 top=185 right=200 bottom=205 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 65535 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: -- part 11 (field) -- low flags: 00 -- high flags: 0000 -- rect: left=206 top=121 right=136 bottom=277 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 65535 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: -- part 12 (field) -- low flags: 00 -- high flags: 0000 -- rect: left=206 top=137 right=152 bottom=277 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 65535 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: -- part 13 (field) -- low flags: 01 -- high flags: 0000 -- rect: left=206 top=153 right=168 bottom=277 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 65535 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: -- part 14 (field) -- low flags: 01 -- high flags: 0000 -- rect: left=206 top=169 right=184 bottom=277 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 65535 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: -- part 15 (field) -- low flags: 01 -- high flags: 0000 -- rect: left=206 top=185 right=200 bottom=277 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 65535 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: -- part 16 (field) -- low flags: 00 -- high flags: 0000 -- rect: left=278 top=121 right=136 bottom=349 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 65535 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: -- part 17 (field) -- low flags: 00 -- high flags: 0000 -- rect: left=278 top=137 right=152 bottom=349 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 65535 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: -- part 18 (field) -- low flags: 01 -- high flags: 0000 -- rect: left=278 top=153 right=168 bottom=349 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 65535 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: -- part 19 (field) -- low flags: 01 -- high flags: 0000 -- rect: left=278 top=169 right=184 bottom=349 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 65535 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: -- part 20 (field) -- low flags: 01 -- high flags: 0000 -- rect: left=278 top=185 right=200 bottom=349 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 65535 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: -- part 21 (field) -- low flags: 00 -- high flags: 0000 -- rect: left=134 top=219 right=234 bottom=205 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 65535 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: -- part 22 (field) -- low flags: 00 -- high flags: 0000 -- rect: left=134 top=235 right=250 bottom=205 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 65535 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: -- part 23 (field) -- low flags: 00 -- high flags: 0000 -- rect: left=134 top=251 right=266 bottom=205 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 65535 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: -- part 24 (field) -- low flags: 00 -- high flags: 0000 -- rect: left=134 top=267 right=282 bottom=205 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 65535 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: -- part 25 (field) -- low flags: 00 -- high flags: 0000 -- rect: left=134 top=283 right=298 bottom=205 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 65535 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: -- part 26 (field) -- low flags: 00 -- high flags: 0000 -- rect: left=206 top=219 right=234 bottom=277 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 65535 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: -- part 27 (field) -- low flags: 00 -- high flags: 0000 -- rect: left=206 top=235 right=250 bottom=277 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 65535 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: -- part 28 (field) -- low flags: 00 -- high flags: 0000 -- rect: left=206 top=251 right=266 bottom=277 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 65535 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: -- part 29 (field) -- low flags: 00 -- high flags: 0000 -- rect: left=206 top=267 right=282 bottom=277 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 65535 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: -- part 30 (field) -- low flags: 00 -- high flags: 0000 -- rect: left=206 top=283 right=298 bottom=277 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 65535 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: -- part 31 (field) -- low flags: 00 -- high flags: 0000 -- rect: left=278 top=219 right=234 bottom=349 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 65535 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: -- part 32 (field) -- low flags: 00 -- high flags: 0000 -- rect: left=278 top=235 right=250 bottom=349 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 65535 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: -- part 33 (field) -- low flags: 00 -- high flags: 0000 -- rect: left=278 top=251 right=266 bottom=349 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 65535 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: -- part 34 (field) -- low flags: 00 -- high flags: 0000 -- rect: left=278 top=267 right=282 bottom=349 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 65535 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: -- part 35 (field) -- low flags: 00 -- high flags: 0000 -- rect: left=278 top=283 right=298 bottom=349 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 65535 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: -- part 36 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=19 top=42 right=57 bottom=34 -- title width / last selected line: 0 -- icon id / first selected line: 5068 / 5068 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Close ----- HyperTalk script ----- on mouseDown set icon of me to "Close Box Hi" end mouseDown on mouseLeave set icon of me to "Close Box" end mouseLeave on mouseUp set icon of me to "Close Box" lock screen set cursor to watch repeat with index = 1 to the number of bg fields put bg field index into item index of array end repeat go to first card of this background repeat with index = 1 to the number of bg fields put item index of array into bg field index end repeat unlock screen with zoom close set cursor to hand end mouseUp -- part 37 (field) -- low flags: 01 -- high flags: 0000 -- rect: left=42 top=69 right=83 bottom=110 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: Number of Tasks -- part 38 (field) -- low flags: 01 -- high flags: 0000 -- rect: left=13 top=137 right=151 bottom=133 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: Weight -- part contents for card part 37 ----- text ----- are 0 tasks -- part contents for background part 15 ----- text ----- 2 -- part contents for background part 14 ----- text ----- 3 -- part contents for background part 16 ----- text ----- 100.0 -- part contents for background part 61 ----- text ----- 73.8 -- part contents for background part 62 ----- text ----- 86.9 -- part contents for background part 63 ----- text ----- 75.1 -- part contents for background part 64 ----- text ----- 83.7 -- part contents for background part 65 ----- text ----- 59.9 -- part contents for background part 66 ----- text ----- 70.3 -- part contents for background part 67 ----- text ----- 85.1 -- part contents for background part 68 ----- text ----- 73.1 -- part contents for background part 13 ----- text ----- 13 -- part contents for card part 38 ----- text ----- Total Points -- part contents for background part 9 ----- text ----- 1 -- part contents for card part 3 ----- text ----- Midterm Exam -- part contents for background part 78 ----- text ----- Omit -- part contents for background part 5 ----- text ----- Assignments -- part contents for background part 6 ----- text ----- Exams -- part contents for background part 7 ----- text ----- Term 1 Mark -- part contents for background part 8 ----- text ----- Exams -- part contents for background part 10 ----- text ----- 1 -- part contents for background part 11 ----- text ----- 0 -- part contents for background part 12 ----- text ----- 1 -- part contents for background part 17 ----- text ----- 25.0 -- part contents for background part 18 ----- text ----- Omit -- part contents for background part 19 ----- text ----- 0.0 -- part contents for background part 20 ----- text ----- 75.0 -- part contents for background part 21 ----- text ----- Omit -- part contents for background part 22 ----- text ----- 0.0 -- part contents for background part 23 ----- text ----- 0.0 -- part contents for background part 24 ----- text ----- Omit -- part contents for background part 25 ----- text ----- 0.0 -- part contents for background part 29 ----- text ----- 92.5 -- part contents for background part 30 ----- text ----- 85.0 -- part contents for background part 31 ----- text ----- 67.5 -- part contents for background part 32 ----- text ----- 87.5 -- part contents for background part 33 ----- text ----- 52.5 -- part contents for background part 34 ----- text ----- 64.0 -- part contents for background part 35 ----- text ----- 77.5 -- part contents for background part 36 ----- text ----- 82.5 -- part contents for background part 37 ----- text ----- 67.6 -- part contents for background part 38 ----- text ----- 87.6 -- part contents for background part 39 ----- text ----- 77.6 -- part contents for background part 40 ----- text ----- 82.4 -- part contents for background part 41 ----- text ----- 62.4 -- part contents for background part 42 ----- text ----- 72.4 -- part contents for background part 43 ----- text ----- 87.6 -- part contents for background part 44 ----- text ----- 70.0 -- part contents for background part 45 ----- text ----- Omit -- part contents for background part 46 ----- text ----- Omit -- part contents for background part 47 ----- text ----- Omit -- part contents for background part 48 ----- text ----- Omit -- part contents for background part 49 ----- text ----- Omit -- part contents for background part 50 ----- text ----- Omit -- part contents for background part 51 ----- text ----- Omit -- part contents for background part 52 ----- text ----- Omit -- part contents for background part 69 ----- text ----- B- -- part contents for background part 70 ----- text ----- A- -- part contents for background part 71 ----- text ----- B -- part contents for background part 72 ----- text ----- B+ -- part contents for background part 73 ----- text ----- C- -- part contents for background part 74 ----- text ----- B- -- part contents for background part 75 ----- text ----- A- -- part contents for background part 76 ----- text ----- B-